package com.dream.banana.redis.pack.ipackitem;

import java.util.List;

/**
 * 躲了一辈子雨，雨会不会很难过。
 * </p>
 * Created by zhumenglong on 2017/5/28.
 */
public interface IRedisKeyPack {
    int delete(String arg0);

    int delete(byte[] arg0);

    int delete(String... arg0);

    int delete(byte[]... arg0);

    List<String> keys(String arg0);

    List<byte[]> keys(byte[] arg0);

    boolean expire(String arg0, int arg1);

    boolean expire(byte[] arg0, int arg1);
}
